﻿@using Test_LYK.Models

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>GetFoodList</title>
</head>
<body>

<div>
    <form>

        <table border="1">
            <thead>
            <tr>
                <td>Id</td>
                <td>Name</td>
                <td>Operation</td>
            </tr>
            </thead>
            @foreach (var p in ViewBag.FoodList as List<FoodModel>)
            {
                <tr>
                    <td>@p.Id</td>
                    <td>@p.Food</td>
                    <td><input type="button" value="Modify" onclick=""/></td>
                </tr>
            }
        </table>

    </form>
</div>
</body>
</html>
